abstract class OutputAlph{
    public abstract void output();
}
class OutputEnglish extends OutputAlph{
   public void output(){
     for(char c='a';c<'z';c++){
       System.out.printf("%3c",c);
     }
   }
}
class ShowBoard{
    void showMess(OutputAlph show){
        show.output();
    }
}
public class Example7_2{
    public static void main(String args[]){
      ShowBoard board = new ShowBoard();
      board.showMess(new OutputEnglish());
      board.showMess(new OutputAlph(){
            public void output(){
              for(char c ='α';c<='ω';c++){
                System.out.printf("%3c",c);
              }
           } 
      }
      );
   }
} 
